package com.yjzx.bean;

import java.util.List;

/**
 * @author yjzx
 * @date 2023/10/20
 * @description
 */
public class MethodUpdate{
    private String name;
    private List<String> params;
    private String body;

    private String returnType;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public List<String> getParams() {
        return params;
    }

    public void setParams(List<String> params) {
        this.params = params;
    }

    public String getBody() {
        return body;
    }

    public String getReturnType() {
        return returnType;
    }

    public void setReturnType(String returnType) {
        this.returnType = returnType;
    }

    public void setBody(String body) {
        this.body = body;
    }

    public MethodUpdate(String name, List<String> params, String body, String returnType) {
        this.name = name;
        this.params = params;
        this.body = body;
        this.returnType = returnType;
    }

    public MethodUpdate() {
    }

    @Override
    public String toString() {
        return "MethodUpdate{" +
                "name='" + name + '\'' +
                ", params=" + params +
                ", body='" + body + '\'' +
                ", returnType='" + returnType + '\'' +
                '}';
    }
}
